<template>
  <div class="nav">
    <ul class="navlist">
      <li><a href="https://www.4399.com/">首页</a></li>
      <li><a href="https://www.4399.com/flash_fl/2_1.htm">动作</a></li>
      <li><a href="https://www.4399.com/flash_fl/6_1.htm">冒险</a></li>
      <li><a href="https://www.4399.com/flash_fl/12_1.htm">休闲</a></li>
      <li><a href="https://www.4399.com/flash_fl/4_1.htm">射击</a></li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "RelaxGameNav"
}
</script>

<style scoped>
* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

.nav {
  background-color: green;
  height: 83px;
}

.navlist li {
  height: 83px;
  float: left;
  line-height: 83px;
  text-align: center;
  width: 20%;
}

.navlist a {
  display: inline-block;
  height: 83px;
  width: 100%;
  color: white;
  font-size: 31px;
}

.navlist a:hover {
  background: white;
  color: green;
}
</style>